<template>
  <d2-container>
    <div class="app-container">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <!-- <el-tab-pane label="期货信息" name="first">
          <v-futuresInformation ref="child1" class="is-active"></v-futuresInformation>
        </el-tab-pane>
        <el-tab-pane label="期权信息" name="second">
          <v-optionInformation ref="child2"></v-optionInformation>
        </el-tab-pane> -->
         <el-tab-pane label="场外期权信息" name="third">
          <v-overoptionsInformation ref="child3"></v-overoptionsInformation>
        </el-tab-pane>
      </el-tabs>
    </div>
  </d2-container>
</template>
<script>
import futuresInformation from "./componnets/derivative_information/futuresInformation.vue";
import optionInformation from "./componnets/derivative_information/optionInformation.vue";
import overoptionsInformation from "./componnets/derivative_information/OveroptionsInformation.vue";
export default {
  //衍生品信息
  components: {
    "v-futuresInformation": futuresInformation,
    "v-optionInformation": optionInformation,
    "v-overoptionsInformation": overoptionsInformation
  },
  data() {
    return {
      activeName: "third",
      futuresInformation,
      optionInformation
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  },
  mounted() {}
};
</script>
